//
//  HWConst.m
//  黑马微博2期
//
//  Created by apple on 14-10-25.
//  Copyright (c) 2014年 heima. All rights reserved.
//

#import <Foundation/Foundation.h>
#define SINA_V2_DOMAIN              @"https://api.weibo.com/2"
#define SINA_API_AUTHORIZE          @"https://api.weibo.com/oauth2/authorize"
#define SINA_API_ACCESS_TOKEN       @"https://api.weibo.com/oauth2/access_token"

//#define SINA_APP_KEY                @"3601604349"
//#define SINA_APP_SECRET             @"7894dfdd1fc2ce7cc6e9e9ca620082fb"

#define USER_INFO_KEY_TYPE          @"requestType"

#define USER_STORE_ACCESS_TOKEN     @"SinaAccessToken"
#define USER_STORE_EXPIRATION_DATE  @"SinaExpirationDate"
#define USER_STORE_USER_ID          @"SinaUserID"
#define USER_STORE_USER_NAME        @"SinaUserName"
#define USER_OBJECT                 @"USER_OBJECT"
#define NeedToReLogin               @"NeedToReLogin"

#define MMSinaRequestFailed         @"MMSinaRequestFailed"
// 账号信息
//NSString * const HWAppKey = @"3235932662";
NSString * const HWAppKey = @"3601604349";
//NSString * const HWRedirectURI = @"http://www.baidu.com";


NSString * const HWRedirectURI = @"http://hi.baidu.com/jt_one";
//NSString * const HWAppSecret = @"227141af66d895d0dd8baca62f73b700";
NSString * const HWAppSecret = @"7894dfdd1fc2ce7cc6e9e9ca620082fb";
// 通知
// 表情选中的通知
NSString * const HWEmotionDidSelectNotification = @"HWEmotionDidSelectNotification";
NSString * const HWSelectEmotionKey = @"HWSelectEmotionKey";

// 删除文字的通知
NSString * const HWEmotionDidDeleteNotification = @"HWEmotionDidDeleteNotification";